package com.schedualnew.mq.dto.esb;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Data;

import java.util.List;

/**
 * @author ljy aka ryan
 * @date 2022/6/15 15:59
 * @description TODO
 */
@Data
public class Msg {

    /**
     * 数据明细
     */
    @JacksonXmlElementWrapper(localName = "DETAILS")
    @JacksonXmlProperty(localName = "DETAIL")
    private List<Object> detail;

    @JacksonXmlProperty(isAttribute = true)
    private String id;

    @JacksonXmlProperty(isAttribute = true)
    private String lastUpdate;

    @JacksonXmlProperty(isAttribute = true)
    private String action;
}
